package com.atzhou.util;
/**
 * Json消息状态类
 *
 * @author jzhung i@jzhung.com status状态码附录 0 失败 1 正常 2 请求参数非法 3 权限校验失败 4 服务器异常 5
 *         无权限的操作
 *
 */
public class JsonData {
    private String status = null;
    private String message = null;
    private Object result;

    public String getStatus() {

        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public Object getResult() {
        return result;
    }

    public void setResult(Object result) {
        this.result = result;
    }

    public JsonData() {
    }

    public JsonData(String status, String message) {
        super();
        this.status = status;
        this.message = message;
    }

    public JsonData(String status, String message, Object result) {
        super();
        this.status = status;
        this.message = message;
        this.result = result;
    }
}
